package thread.my_thread1;


class MyThreadTest {
    public static void main(String[] args) {
        MyThread myThread1 = new MyThread();
        myThread1.setName("1111111");
        //开启线程
        myThread1.start();

        MyThread myThread2 = new MyThread();
        myThread2.setName("2222222");
        myThread2.start();
    }
}